StringEntry

public final class StringEntry extends FormDataEntry

A key to string value pair representing a segment of form upload data.

Since

8.0.0

Constructors

Link copied to clipboard
public StringEntry StringEntry(String key, String value)

Properties

Link copied to clipboard
private final String key

The form content segment key.

Link copied to clipboard
private final String value

The segment value. Can be empty if the key does not correspond to any value. For example, an empty form field.

Functions

Link copied to clipboard
public final String getKey()

The form content segment key.

Link copied to clipboard
public String getValue()

The segment value. Can be empty if the key does not correspond to any value. For example, an empty form field.